package com.twoGroup.boot.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;

public class Goods {
    @JsonProperty("goodsId")
    private Integer goodsId;
    @JsonProperty("shopId")
    private Integer shopId;
    @JsonProperty("goodsImg")
    private String goodsImg;
    @JsonProperty("goodsName")
    private String goodsName;
    @JsonProperty("goodsPrice")
    private float goodsPrice;
    @JsonProperty("goodsSales")
    private Integer goodsSales;
    @JsonProperty("goodsStock")
    private Integer goodsStock;
    @JsonProperty("goodsFlag")
    private Integer goodsFlag;
    @JsonProperty("goodsBrandId")
    private Integer goodsBrandId;
    @JsonProperty("goodsTypeId")
    private Integer goodsTypeId;
    public Goods() {
    }

    public Goods(Integer goodsId, Integer shopId, String goodsImg, String goodsName, float goodsPrice, Integer goodsSales, Integer goodsStock, Integer goodsFlag, Integer goodsBrandId, Integer goodsTypeId)    {
        this.goodsId = goodsId;
        this.shopId = shopId;
        this.goodsImg = goodsImg;
        this.goodsName = goodsName;
        this.goodsPrice = goodsPrice;
        this.goodsSales = goodsSales;
        this.goodsStock = goodsStock;
        this.goodsFlag = goodsFlag;
        this.goodsBrandId = goodsBrandId;
        this.goodsTypeId = goodsTypeId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public float getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(float goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public Integer getGoodsSales() {
        return goodsSales;
    }

    public void setGoodsSales(Integer goodsSales) {
        this.goodsSales = goodsSales;
    }

    public Integer getGoodsStock() {
        return goodsStock;
    }

    public void setGoodsStock(Integer goodsStock) {
        this.goodsStock = goodsStock;
    }

    public Integer getGoodsFlag() {
        return goodsFlag;
    }

    public void setGoodsFlag(Integer goodsFlag) {
        this.goodsFlag = goodsFlag;
    }

    public Integer getGoodsBrandId() {
        return goodsBrandId;
    }

    public void setGoodsBrandId(Integer goodsBrandId) {
        this.goodsBrandId = goodsBrandId;
    }

    public Integer getGoodsTypeId() {
        return goodsTypeId;
    }

    public void setGoodsTypeId(Integer goodsTypeId) {
        this.goodsTypeId = goodsTypeId;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "goodsId=" + goodsId +
                ", shopId=" + shopId +
                ", GoodsImg='" + goodsImg + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", goodsPrice=" + goodsPrice +
                ", goodsSales=" + goodsSales +
                ", goodsStock=" + goodsStock +
                ", goodsFlag=" + goodsFlag +
                ", goodsBrandId=" + goodsBrandId +
                ", goodsTypeId=" + goodsTypeId +
                '}';
    }
}


